package com.shambles.manage2.service.impl;

import cn.hutool.core.util.IdUtil;
import com.shambles.manage2.service.CostDetailService;
import com.shambles.manage2.tkmapper.entity.CostDetail;
import com.shambles.manage2.tkmapper.mapper.CostDetailMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author yangsy
 * @description
 * @date 2020/03/01
 */
@Service
public class CostDetailServiceImpl implements CostDetailService {

    @Autowired
    private CostDetailMapper costDetailMapper;

    /**
     * 根据费用ID 查询明细数据
     */
    public List<CostDetail> queryCostDetail(String guid){
      return  this.costDetailMapper.queryCostDetail(guid);
    }

    /**
     * 添加费用明细
     */
   public void insertCostDetail(CostDetail costDetail){

   }
}
